import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        Heap heap = new Heap();
/*        heap.init(array);
        heap.createBigHeap();
        heap.offer(80);
        System.out.println(heap.poll());
        heap.offer(90);*/
        int[] tmp = heap.topK(array,3);
        System.out.println(Arrays.toString(tmp));
        //System.out.println(Arrays.toString(heap.elem));
    }

}
